package com.opgea.tutor.domain.interfaces;

public interface Marshallable<T> {

    /**
     * Copy value from Entity object to DTOObject;
     * 
     * @param object
     *            is an entity.
     */
    public void marshall(T object);

    /**
     * Copy value from DTOObject to entity;
     * 
     * @param object
     *            is an Entity.
     * @return is a DTOObject
     */
    public Object unmarshall(T object);
}
